/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ejerciciodeprueba;

/**
 *
 * @author Acer
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
         String[][] names = {{"Mr. ", "Mrs. ", "Ms. "}, {"Smith", "Jones"}};

          System.out.println(names[0][0] + names[1][0]); //Mr. Smith
        System.out.println(names[0][2] + names[1][1]); //Ms. Jones

        
    }

}
